package com.lyc.day1101.demo6;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/11/1 20:34
 * @description：
 * @modified By：
 * @version:
 */
public class TestDead {
    public static void main(String[] args) {
        Boy boy = new Boy();
        boy.setName("臣哥哥");

        Girl girl = new Girl();
        girl.setName("小诗诗");

        boy.start();
        girl.start();
    }
}